package com.yingoo.controller;

import com.yingoo.api.HanderRequest;
import com.yingoo.api.IHanderApi;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by lenovo on 2017/7/31.
 */
@Service
public class AnalyseHander implements IHanderApi {
    @Autowired
    private WriterHander  leaderHander;
    public void handerRequest(HanderRequest request) {
        System.out.println("解析器获得:"+request.getRequest());
        leaderHander.handerRequest(request);

    }

}
